package com.eastfair.home.service;

import com.eastfair.builder.dto.ReportSpaceDTO;
import com.eastfair.core.base.R;
import com.eastfair.home.dto.ReportSpaceAuditDTO;
import com.eastfair.home.entity.ReportSpaceAudit;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 搭建商报馆服务.
 *
 * @author dqq
 * @date 2022 /8/10
 */
public interface HomeReportSpaceService {

    /**
     * 更新报馆审核记录.
     *
     * @param reportSpaceDTO the report space dto
     * @return the boolean
     */
    boolean updateAuditStatus(ReportSpaceDTO reportSpaceDTO);

    /**
     * 更新场馆审核状态.
     *
     * @param reportSpaceDTO the report space dto
     * @return the r
     */
    boolean updateVenueAuditStatus(ReportSpaceDTO reportSpaceDTO);

    /**
     * 更新搭建商报馆的场馆审核信息
     *
     * @param reportSpaceAudit the report space audit
     * @return the boolean
     */
    boolean updateVenueAuditStatus(ReportSpaceAudit reportSpaceAudit);

    /**
     * 发送图纸审核通过信息
     *
     * @param reportSpaceId the report space id
     * @return the boolean
     */
    boolean sendDrawingAuditMsg(Long reportSpaceId);

    /**
     * 异步发送图纸审核通过信息
     *
     * @param reportSpaceId the report space id
     */
    void asyncSendDrawingAuditMsg(Long reportSpaceId);

    /**
     * 发送图纸审核通过信息
     *
     * @param reportSpaceAudit the report space audit
     * @return the boolean
     */
    boolean sendDrawingAuditMsg(ReportSpaceAuditDTO reportSpaceAudit);

    /**
     * 异步发送图纸审核通过信息
     *
     * @param reportSpaceAudit the report space audit
     */
    void asyncSendDrawingAuditMsg(ReportSpaceAudit reportSpaceAudit);
}